import 'package:flutter/material.dart';
import 'package:mandoby/core/app_export.dart';
import 'package:nb_utils/nb_utils.dart';

import '../../../Choosing_college/presentation/pages/choose_college_screen.dart';

class AvailableUniversityContainer extends StatelessWidget {
  const AvailableUniversityContainer({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.symmetric(vertical: 10.h),
      margin: EdgeInsets.symmetric(vertical: 10.h, horizontal: 10.w),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(10.h),
        color: Colors.white,
        border: Border.all(
          color: const Color(0xa1000000).withOpacity(0.5),
        ),
        boxShadow: const [
          BoxShadow(
            color: Color(0x000000A1), // Transparent black with alpha value
            offset: Offset(1, 1),
            blurRadius: 1,
            spreadRadius: 0,
          ),
        ],
      ),
      child: Column(
        mainAxisAlignment: MainAxisAlignment.spaceEvenly,
        children: [
          Image.asset(
            "assets/images/cairo.png",
            height: 90.h,
          ),
          10.hs,
          Text("جامعة القاهرة", style: CustomTextStyles.font14black800)
        ],
      ),
    ).onTap(() {
      const ChooseACollegeScreen().launch(context);
    });
  }
}
